using System.ComponentModel.DataAnnotations;
using System.Data.Entity.ModelConfiguration;
using SapaFinance.Domain.Model;

namespace SapaFinance.Domain.EntityFramework
{
    internal class TaxRateConfiguration : ComplexTypeConfiguration<TaxRate>
    {
        public TaxRateConfiguration()
        {
            Property(x => x.Value).HasColumnName("taxrate").IsRequired();
        }
    }
}